package org.dromara.business.domain.vo;

import java.math.BigDecimal;
import org.dromara.business.domain.AppUser;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 钱包用户视图对象 app_user
 *
 * @author Eric
 * @date 2025-09-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppUser.class)
public class AppUserVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 推荐人
     */
    @ExcelProperty(value = "推荐人")
    private Long spreadId;
    private String parentWalletAddress;

    /**
     * 等级
     */
    @ExcelProperty(value = "等级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wallet_user_level")
    private Integer level;

    /**
     * 钱包地址
     */
    @ExcelProperty(value = "钱包地址")
    private String walletAddress;

    /**
     * 帐号状态
     */
    @ExcelProperty(value = "帐号状态")
    private String status;

    /**
     * 总质押金额
     */
    @ExcelProperty(value = "总质押金额")
    private BigDecimal totalStaked;

    /**
     * 总收益
     */
    @ExcelProperty(value = "总收益")
    private BigDecimal totalEarnings;

    /**
     * 绑定状态
     */
    @ExcelProperty(value = "绑定状态")
    private Integer bindStatus;


}
